package com.pennphoto.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PennPhotoCRUDServiceAsync {

	void getPhotoStream(int userId,AsyncCallback<ArrayList<ViewedPhotos>> callback);

	void insertPhoto(int userId, String description, String tag, String url,
			ArrayList<String> cnames, ArrayList<String> fnames, boolean isPublic,
			AsyncCallback<Integer> callback);

	void updateViewedPhoto(int userId, int photoId, int rating, String comment,
			AsyncCallback<Integer> callback);

	void deletePhoto(int userId, int photoId, AsyncCallback<Integer> callback);

	void searchForPhotos(String query, int userId,
			AsyncCallback<ArrayList<ViewedPhotos>> callback);

	void getCircleNames(int userId, AsyncCallback<ArrayList<String>> callback);

	void getFriendNames(int userId, AsyncCallback<ArrayList<String>> callback);

}
